<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            height: 200px;
            width: 100%;
            border: 1px solid #000;
        }
        .inner{
            height: 100px;
            width: 100px;
            background-color: pink;
            position: absolute;
            transition: all 1s;
            /* transition-property: all;
            transition-duration: 1s;
            transition-delay: 1s;
            transition-timing-function: linear; */
            left: 0px;
        }
        .box:hover .inner{
            left: 600px;
            height: 500px;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="inner">我是盒子</div>
    </div>
</body>
</html>